package game.source.gui;

import java.awt.image.BufferedImage;
import java.util.Vector;

/**
 *Animation:
 *	Classe para controle de animações, basicamente um vetor de imagens
 */
public class Animation {
	private Vector<BufferedImage> images;
	public Animation(){
		this.images = new Vector<BufferedImage>();
	}
	public void add(BufferedImage img){
		this.images.add(img);
	}
	public BufferedImage getFrame(int frame){
		return this.images.get(frame);
	}
}
